using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace Be.Timvw.Framework.Tests.EnumHelper
{
    [TestClass]
    public class WhenConverting
    {
       
        [TestMethod]
        public void ShouldReturnDomainTypeForContractType()
        {
            ContractType input = ContractType.Consumer;
            DomainType actual = Be.Timvw.Framework.EnumHelper.Convert<DomainType>(input);

            DomainType expected = DomainType.Consumer;

            Assert.AreEqual(expected, actual);
        }
    }
}